<%@page import="com.bsearchives.entity.Script"%>
<%@page import="java.util.*"%>

<table>
<tr>
	<td>Script Name</td>
	<td>Script Code</td>
	<td>Script Group</td>
	<td>Script Type</td>
	<td>ClosePrice</td>
	<td>HighPrice</td>
	<td>LastTradedPrice</td>
	<td>LowPrice</td>
	<td>NetTurnOver</td>
	<td>OpenPrice</td>
	<td>PrevClose</td>
	<td>Date</td>
	<td>Id</td>
</tr>
<%
	List<Script> scripts = (List<Script>)session.getAttribute("SCRIPTS");
	
if(scripts!=null){
for(Script script:scripts){
	%>
	<tr>
	<td><%=script.getScName()%></td>
	<td><%=script.getScCode()%></td>
	<td><%=script.getScGrp()%></td>
	<td><%=script.getScType()%></td>
	<td><%=script.getClosePrice()%></td>
	<td><%=script.getHighPrice()%></td>
	<td><%=script.getLastTradedPrice()%></td>
	<td><%=script.getLowPrice()%></td>
	<td><%=script.getNetTurnOver()%></td>
	<td><%=script.getOpenPrice()%></td>
	<td><%=script.getPrevClose()%></td>
	<td><%=script.getDate()%></td>
	<td><%=script.getId()%></td>
</tr>
	<%	
}
}
%>
</table>